package com.huatai.user.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @program: ht-system
 * @description: 角色实体
 * @author: songxiude
 * @create: 2023-02-09 11:18
 **/
@Data
@ApiModel(value = "RoleVo实体",description = "RoleVo实体")
public class RoleVo {
	@ApiModelProperty("主键id")
	private Long roleId;

	@ApiModelProperty(value = "角色名称")
	private String roleName;

	@ApiModelProperty("角色标识key")
	private String roleKey;

	@ApiModelProperty("排序")
	private Integer roleSort;

	@ApiModelProperty("状态0正常1禁用")
	private Integer status;

	@ApiModelProperty("创建人用户id")
	private Long createUserid;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime createTime;

	@ApiModelProperty("更新用户id")
	private Long updateUserid;

	@ApiModelProperty("更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	private LocalDateTime updateTime;

	@ApiModelProperty("备注信息")
	private String remark;

	@ApiModelProperty("备注信息")
	private Integer checked;
}
